package com.system.model;

import java.io.Serializable;
import java.util.Date;

public class Market implements Serializable {
    private Integer marketId;

    private String orderNumber;

    private String goodsName;

    private String orderUser;

    private String orderAmount;

    private String marketMoney;

    private Date marketDate;

    private String marketState;

    private static final long serialVersionUID = 1L;

    public Integer getMarketId() {
        return marketId;
    }

    public void setMarketId(Integer marketId) {
        this.marketId = marketId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber == null ? null : orderNumber.trim();
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public String getOrderUser() {
        return orderUser;
    }

    public void setOrderUser(String orderUser) {
        this.orderUser = orderUser == null ? null : orderUser.trim();
    }

    public String getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(String orderAmount) {
        this.orderAmount = orderAmount == null ? null : orderAmount.trim();
    }

    public String getMarketMoney() {
        return marketMoney;
    }

    public void setMarketMoney(String marketMoney) {
        this.marketMoney = marketMoney == null ? null : marketMoney.trim();
    }

    public Date getMarketDate() {
        return marketDate;
    }

    public void setMarketDate(Date marketDate) {
        this.marketDate = marketDate;
    }

    public String getMarketState() {
        return marketState;
    }

    public void setMarketState(String marketState) {
        this.marketState = marketState == null ? null : marketState.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", marketId=").append(marketId);
        sb.append(", orderNumber=").append(orderNumber);
        sb.append(", goodsName=").append(goodsName);
        sb.append(", orderUser=").append(orderUser);
        sb.append(", orderAmount=").append(orderAmount);
        sb.append(", marketMoney=").append(marketMoney);
        sb.append(", marketDate=").append(marketDate);
        sb.append(", marketState=").append(marketState);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}